package com.jt.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 订单评价（针对订单中每个商品的评价）
 * @author dc
 * @Classname OrderComment
 * @Date 2020/5/29 16:12
 */
@Data
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
@TableName("tb_order_comment")
public class OrderComment extends BasePojo{
    private static final long serialVersionUID = 7267737680666431384L;
    /**订单评价表id主键*/
    @TableId
    private String id;
    /**商品id*/
    private String itemId;
    /**订单id*/
    private String orderId;
    /**用户id*/
    private Long userId;
    /**商品展示图*/
    private String itemPic;
    /**商品标题*/
    private String title;
    /**商品评分*/
    private int grade;
    /**商品标签*/
    private String tags;
    /**商品评论*/
    private String comment;
    /**用户上传的图片列表*/
    private String picList;
}
